package com.ruoyi.bussiness.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 股票基础数据对象 stock_base_info
 * 
 * @author wagnzy
 * @date 2025-10-30
 */
public class StockBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String stockCode;

    /** 名字 */
    @Excel(name = "名字")
    private String stockName;

    /** 上证、深圳 */
    private String type;

    /** 最高价 */
    @Excel(name = "最高价")
    private BigDecimal maxPrice;

    /** 最低价 */
    @Excel(name = "最低价")
    private BigDecimal minPrice;

    /** 最新价 */
    @Excel(name = "最新价")
    private BigDecimal newPrice;

    /** 回撤多点 */
    @Excel(name = "回撤多点")
    private BigDecimal rate;

    /** 财报日期 */
    @Excel(name = "财报日期")
    private String reportDate;

    /** 财务状态 */
    @Excel(name = "财务状态")
    private String reportStatus;

    /** 营业总收入 */
    @Excel(name = "营业总收入")
    private String totalOperatingRevenue;

    /** 营业总收入同比增长率 */
    @Excel(name = "营业总收入同比增长率")
    private String totalOperatingRevenueRate;

    /** 净利润 */
    @Excel(name = "净利润")
    private String attributableToParent;

    /** 净利润增长率 */
    @Excel(name = "净利润增长率")
    private String attributableToParentRate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setStockCode(String stockCode) 
    {
        this.stockCode = stockCode;
    }

    public String getStockCode() 
    {
        return stockCode;
    }

    public void setStockName(String stockName) 
    {
        this.stockName = stockName;
    }

    public String getStockName() 
    {
        return stockName;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setMaxPrice(BigDecimal maxPrice) 
    {
        this.maxPrice = maxPrice;
    }

    public BigDecimal getMaxPrice() 
    {
        return maxPrice;
    }

    public void setMinPrice(BigDecimal minPrice) 
    {
        this.minPrice = minPrice;
    }

    public BigDecimal getMinPrice() 
    {
        return minPrice;
    }

    public void setNewPrice(BigDecimal newPrice) 
    {
        this.newPrice = newPrice;
    }

    public BigDecimal getNewPrice() 
    {
        return newPrice;
    }

    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }

    public void setReportDate(String reportDate) 
    {
        this.reportDate = reportDate;
    }

    public String getReportDate() 
    {
        return reportDate;
    }

    public void setReportStatus(String reportStatus) 
    {
        this.reportStatus = reportStatus;
    }

    public String getReportStatus() 
    {
        return reportStatus;
    }

    public void setTotalOperatingRevenue(String totalOperatingRevenue) 
    {
        this.totalOperatingRevenue = totalOperatingRevenue;
    }

    public String getTotalOperatingRevenue() 
    {
        return totalOperatingRevenue;
    }

    public void setTotalOperatingRevenueRate(String totalOperatingRevenueRate) 
    {
        this.totalOperatingRevenueRate = totalOperatingRevenueRate;
    }

    public String getTotalOperatingRevenueRate() 
    {
        return totalOperatingRevenueRate;
    }

    public void setAttributableToParent(String attributableToParent) 
    {
        this.attributableToParent = attributableToParent;
    }

    public String getAttributableToParent() 
    {
        return attributableToParent;
    }

    public void setAttributableToParentRate(String attributableToParentRate) 
    {
        this.attributableToParentRate = attributableToParentRate;
    }

    public String getAttributableToParentRate() 
    {
        return attributableToParentRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stockCode", getStockCode())
            .append("stockName", getStockName())
            .append("type", getType())
            .append("maxPrice", getMaxPrice())
            .append("minPrice", getMinPrice())
            .append("newPrice", getNewPrice())
            .append("rate", getRate())
            .append("reportDate", getReportDate())
            .append("reportStatus", getReportStatus())
            .append("totalOperatingRevenue", getTotalOperatingRevenue())
            .append("totalOperatingRevenueRate", getTotalOperatingRevenueRate())
            .append("attributableToParent", getAttributableToParent())
            .append("attributableToParentRate", getAttributableToParentRate())
            .append("remark", getRemark())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
